﻿<%@ Page Title="" Language="C#" MasterPageFile="MasterPage.master" AutoEventWireup="true" CodeFile="profile.aspx.cs" Inherits="vboard_membership_profile" %>

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder" Runat="Server">
	<div class="Title"><%= GetLocalResourceObject("Title").ToString()%></div>

	<div class="ControlForm">
		<asp:Panel ID="PasswordCheckPanel" runat="server"
			DefaultButton="PasswordCheckButton">
			<div class="Content"><%= GetLocalResourceObject("CheckPasswordContent").ToString()%></div>

			<dl class="VGlobal_FormFieldDL60">
				<dt>
					<asp:Label ID="PasswordLabel" runat="server"
						Text="<%$ Resources:PasswordLabel %>"
						AssociatedControlID="PasswordTextBox" />
				</dt>
				<dd>
					<asp:TextBox ID="PasswordTextBox" runat="server"
						TextMode="Password"
						Columns="30"
						MaxLength="200"
						CssClass="VWebGlobal_TextBox"
						ValidationGroup="PasswordCheck" />
					<asp:RequiredFieldValidator ID="PasswordTextBoxRequiredFieldValidator" runat="server"
						Display="None"
						ControlToValidate="PasswordTextBox"
						ErrorMessage="<%$ Resources:VGlobalResources, Membership_Validate_Password_Insert %>"
						ValidationGroup="PasswordCheck"
						SetFocusOnError="true" />
					<ajaxToolkit:ValidatorCalloutExtender ID="PasswordTextBoxRequiredFieldValidatorCalloutExtender" runat="Server"
						TargetControlID="PasswordTextBoxRequiredFieldValidator"
						CssClass="VWebGlobal_Validatorcallout"
						Width="250px"
						HighlightCssClass="VWebGlobal_ValidatorcalloutTargetHighlight" />
				</dd>

				<dt></dt>
				<dd>
					<asp:Button ID="PasswordCheckButton" runat="server"
						Text="<%$ Resources:PasswordCheckButton %>"
						OnClick="PasswordCheckButton_Click"
						ValidationGroup="PasswordCheck" />
				</dd>
			</dl>
		</asp:Panel>

		<asp:Panel ID="ModifyPanel" runat="server"
			Visible="false">
			<ajaxToolkit:Accordion ID="MyAccordion" runat="Server"
				SelectedIndex="0"
				TransitionDuration="150"
				FramesPerSecond="30"
				HeaderCssClass="AccordionHeader"
				HeaderSelectedCssClass="AccordionHeaderSelected"
				ContentCssClass="AccordionContent">
				<Panes>
					<ajaxToolkit:AccordionPane ID="PicturePane" runat="server">
						<Header><%= GetLocalResourceObject("PicturePane").ToString()%></Header>
						<Content>
							<asp:Panel ID="PicturePanel" runat="server" DefaultButton="">
								<dl class="VGlobal_FormFieldDL60">
									<dt><%= GetLocalResourceObject("UserImage").ToString() %></dt>
									<dd>
										<div>
											<asp:Image ID="UserImage" runat="server"
												Width="100px" />
											<asp:Button ID="PictureDeleteButton" runat="server"
												OnClick="PictureDeleteButton_Click"
												OnClientClick="<%$ Resources:VGlobalResources, General_Script_RemoveConfirm %>"
												Text="<%$ Resources:PictureDeleteButton %>" />
										</div>
										<div>
											<asp:FileUpload ID="UserImageFileUpload" runat="server"
												CssClass="VWebGlobal_TextBox" />
											<asp:Button ID="PictureSaveButton" runat="server"
												Text="<%$ Resources:PictureSaveButton %>"
												OnClick="PictureSaveButton_Click" />
										</div>
										<div><%= GetLocalResourceObject("UserImageDescription").ToString() %></div>
									</dd>
								</dl>
							</asp:Panel>
						</Content>
					</ajaxToolkit:AccordionPane>
					<ajaxToolkit:AccordionPane ID="ProfilePane" runat="server">
						<Header><%= GetLocalResourceObject("ProfilePane").ToString() %></Header>
						<Content>
							<!--<asp:Panel ID="ProfilePanel" runat="server"
								DefaultButton="ProfileModifyButton">
								<dl class="VGlobal_FormFieldDL80">
									<dt><%= GetLocalResourceObject("BirthDateLabel").ToString() %></dt>
									<dd>
										<asp:UpdatePanel ID="UpdatePanel1" runat="server">
											<ContentTemplate>
												<asp:DropDownList ID="YearDropDownList" runat="server"
													AutoPostBack="True"
													CssClass="VWebGlobal_TextBox"
													onselectedindexchanged="YearDropDownList_SelectedIndexChanged" />
												<asp:DropDownList ID="MonthDropDownList" runat="server"
													AutoPostBack="True"
													CssClass="VWebGlobal_TextBox"
													onselectedindexchanged="MonthDropDownList_SelectedIndexChanged" />
												<asp:DropDownList ID="DayDropDownList" runat="server"
													CssClass="VWebGlobal_TextBox" />
												<%= GetLocalResourceObject("BirthDateDescription").ToString() %>
											</ContentTemplate>
										</asp:UpdatePanel>
									</dd>

									<dt><%= GetLocalResourceObject("PersonalUrl").ToString() %></dt>
									<dd>
										<asp:TextBox ID="HomepagesTextBox" runat="server"
											TextMode="MultiLine"
											Rows="3"
											Columns="50"
											CssClass="VWebGlobal_TextBox" />
										<div><%= GetLocalResourceObject("PersonalUrlDescription").ToString() %></div>
									</dd>

									<dt><%= GetLocalResourceObject("InterestLabel").ToString() %></dt>
									<dd>
										<asp:TextBox ID="InterestsTextBox" runat="server"
											TextMode="MultiLine"
											Rows="3"
											Columns="50"
											CssClass="VWebGlobal_TextBox" />
									</dd>

									<dt></dt>
									<dd>
										<asp:Button ID="ProfileModifyButton" runat="server"
											Text="<%$ Resources:ProfileModifyButton %>" 
											onclick="ProfileModifyButton_Click" />
									</dd>
								</dl>
							</asp:Panel>-->
						</Content>
					</ajaxToolkit:AccordionPane>
				</Panes>
			</ajaxToolkit:Accordion>
		</asp:Panel>
	</div>
</asp:Content>